<?php
//header('Content-type: text/html; charset=Windows-1251');

function get_process_info() {
	exec("ifconfig", $result);
	return implode("<br>\n", $result);
}
echo get_process_info();